package com.markerhub.common.exception;

public class HubException extends RuntimeException {
    private String msg;
    private int code=500;
    public  HubException(String msg){
        super();
        this.msg=msg;
    }

    public  HubException(String msg,int code){
        super();
        this.code=code;
        this.msg=msg;
    }
}
